<app-table-page *ngIf="showDetail"  #st [tmp]="tmp" [process]="dataProcess"  [config]="config" (_selectChange)="selectChange($event)" (operateClick)="operate($event)">
  <ng-template #tmp>
    <button nz-button nzType="primary" (click)="editDic(0, {areaId: parma.id, addType: 0, level: parma.level})" *ngIf="addFlag">新增</button>
    <button nz-button nzType="primary" (click)="editDic(0, {areaId: parma.id , addType: 1, level: parma.level})" *ngIf="addFlag">批量新增</button>
    <button nz-button nzType="primary" (click)="importPerson({areaId: parma.id ,  level: parma.level})">导入人员</button>
    <button nz-button nzType="danger" (click)="deleteDic()" *ngIf="delFlag">删除</button>
    <div style="display: inline-flex;margin-left: 70px;">
      <!-- <div style="margin-right: 20px; font-size: 16px;"> 
        <span style="margin-right: 10px;">社区统计:</span>
        <span>{{communityCount}}</span>
      </div>
      <div style="margin-right: 20px; font-size: 16px;">
        <span style="margin-right: 10px;">村巷统计:</span>
        <span>{{laneCount}}</span>
      </div> -->
      <div style="margin-right: 20px; font-size: 16px;">
        <span style="margin-right: 10px;">楼宇统计:</span>
        <span>{{houseCount}}</span>
      </div>
      <div style="margin-right: 20px; font-size: 16px;">
        <span style="margin-right: 10px;">单元统计:</span>
        <span>{{unitCount}}</span>
      </div>
      <div style="margin-right: 20px; font-size: 16px;">
        <span style="margin-right: 10px;">房间统计:</span>
        <span>{{roomCount}}</span>
      </div>
      <div style="margin-right: 20px; font-size: 16px;">
        <span style="margin-right: 10px;">人员统计:</span>
        <span>{{personCount}}</span>
      </div>
      <div style="margin-right: 20px; font-size: 16px;">
        <span style="margin-right: 10px;">发卡统计:</span>
        <span>{{cardCount}}</span>
      </div>
      <!-- <div style="margin-right: 20px; font-size: 16px;">
        <span style="margin-right: 10px;">房东统计:</span>
        <span>{{landlordCount}}</span>
      </div>
      <div style="margin-right: 20px; font-size: 16px;">
        <span style="margin-right: 10px;">租客统计:</span>
        <span>{{personCount}}</span>
      </div>
      <div style="margin-right: 20px; font-size: 16px;">
        <span style="margin-right: 10px;">发卡统计:</span>
        <span>{{cardCount}}</span>
      </div>
      <div style="margin-right: 20px; font-size: 16px;">
        <span style="margin-right: 10px;">人脸统计:</span>
        <span>{{faceCount}}</span>
      </div> -->
    </div>
  </ng-template>
</app-table-page>
<!-- <app-room-detail [data]="activeData" *ngIf="showDetail"></app-room-detail> -->
